package com.example.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.example.config.BaseContext;

@RestController
@RequestMapping("/test")
public class TestController {

	@GetMapping("getLocal")
	public String getLocal() {
		Long currentId = BaseContext.getCurrentId();
		return "getLocal成功::" + currentId;
	}
}
